<#include "../../base.ftl"/>

<#macro title>
物流交易系统
</#macro>
<#macro cssfile>
</#macro>
<#macro scriptfile>
</#macro>
<#macro jsscript>
var lsinfoId;
lsinfoId=decodeURI('${Parameters.lsinfoId!""}');

$(function(){
    $("#logisticsDetailedId").ready(function(){
      $.ajax({
	    url: '${request.contextPath}/list/content/TltLogistSupplyDetailed/list.html', 
          type:'post',
          data:{'lsinfoId':lsinfoId},
          dataType : 'json',
          success:function(data){
              $(data.page.result).each(function(index,obj){
                $("#loadMode").html(obj.LOAD_MODE);
                $("#transportMode").html(obj.TRANSPORT_MODE);
                $("#transportQualification").html(obj.TRANSPORT_QUALIFICATION);
                $("#unit").html(obj.UNIT);
                $("#unitPrice").html(obj.UNIT_PRICE);
                $("#weight").html(obj.MAX_LOAD_WEIGHT);
                $("#volume").html   (obj.MAX_LOAD_VOLUME);
                $("#currentAddress").html(obj.CURRENT_ADDRESS);
                $("#insurance").html(obj.INSURANCE);
                $("#age").html(obj.AGE);
                $("#planDate").html(obj.PLAN_DATE);
                $("#remark").html(obj.REMARK);
                $("#planDestination").html(obj.PLAN_DESTINATION);
                $("#arriveDate").html(obj.ARRIVE_DATE);
                $("#trustCheck").html(obj.TRUST_CHECK);
                $("#isCheck").html(obj.IS_CHECK);
                $("#checkNote").html(obj.CHECK_NOTE);
                $("#checkBy").html(obj.CHECK_BY);
                $("#checkDate").html(obj.CHECK_DATE);
              })
          	
          	
          	alert("成功");
           
          },
          'error':function(xhr,e1,e2){
            alert("失败");
          }
      });
    });
    });
</#macro>

<#macro main>
	 <div>
			<legend>物流供应信息---详细页<button class="btn btn-small btn-success pull-right" type="button">我要发布</button></legend>
  			<table class="table table-bordered">
              <tbody>
                <tr>
                  <td>装载方式:</td>
                  <td id="loadMode"></td>
                  <td>运输方式:</td>
                  <td id="transportMode"></td>
                </tr>
                <tr>
                  <td>计量单位:</td>
                  <td id="unit"></td>
                  <td>运输资质:</td>
                  <td id="transportQualification"></td>
                </tr>
                <tr>
                  <td>单价:</td>
                  <td id="unitPrice"></td>
                  <td>车/船龄:</td>
                  <td id="age"></td>
                </tr>
                <tr>
                  <td>最大承载重量(吨):</td>
                  <td id="weight"></td>
                  <td>最大承载体积(m3):</td>
                  <td id="volume"></td>
                </tr>
                <tr>
                  <td>保险情况:</td>
                  <td id="insurance"></td>
                  <td>计划目的地:</td>
                  <td id="planDestination"></td>
                </tr>
                <tr>
                <td>目前所在地:</td>
                <td id="currentAddress"></td>
                <td>委托审核:</td>
                <td id="trustCheck"></td>
              </tr>
                <tr>
                <td>预期承载时间:</td>
                <td id="planDate"></td>
                <td>预期达到时间:</td>
                <td id="arriveDate"></td>
              </tr>
              </tr>
              <tr>
              <td>审核状态:</td>
              <td id="isCheck"></td>
              <td>审核描述:</td>
              <td id="checkNote"></td>
              </tr>
              <tr>
              <td>审核人:</td>
              <td id="checkBy"></td>
              <td>审核日期:</td>
              <td id="checkDate"></td>
              </tr>
                <tr>
                  <td>备注:</td>
                  <td colspan="3"><textarea type="" class="" style="width:270px;" id="remark"> </textarea></td>
                </tr>
              </tbody>
            </table>
            
 
        </div><!--/span-->
</#macro>